<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * 文件上传配置
 * @author wuliang
 */

$config = array(
    'upload_path'   => './upload',
    'allowed_types' => 'jpg|jpeg|gif|png',
    'max_size'      => '1024',
    'file_name'     => time() . mt_rand(1000, 9999)
);